----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  D:\Vicard\VV\re\inprogress\BRV\results\prediction1_fe_ijt.log
  log type:  text
 opened on:  30 Sep 2017, 01:18:35

. 
. use $Output\dataset_brv_fe_ijt, clear

. global condition  "entry_ele!=1994 & entry_ele!=1995"

. 
. foreach def in ele1 {
  2. 
.         foreach var in "_ijt" {
  3. 
.                 eststo: reg dprior`var' diff`var' age_`def'                                     if $condition, r cluster(i)
  4.                 eststo: reg dprior`var' diff`var' age_`def' diff`var'_`def' if $condition , r cluster(i)
  5.                 eststo: reg dprior`var' diff`var'_`def'_* `def'_*               if $condition , r cluster(i)
  6. 
.         }
  7.         
.         foreach var in "" {
  8. 
.                 eststo: reg dprior`var' diff`var' age_`def'                                     if $condition & e(sample), r cluster(i)
  9.                 eststo: reg dprior`var' diff`var' age_`def' diff`var'_`def' if $condition & e(sample), r cluster(i)
 10.                 eststo: reg dprior`var' diff`var'_`def'_* `def'_*               if $condition & e(sample), r cluster(i)
 11.         }
 12.                 
.                 set linesize 250
 13.                 esttab, mtitles drop(_cons) b(%5.3f) se(%5.3f) compress r2 starlevels(c 0.1 b 0.05 a 0.01)  se 
 14.                 esttab, mtitles drop(_cons) b(%5.3f) se(%5.3f) r2  starlevels({$^c$} 0.1 {$^b$} 0.05 {$^a$} 0.01) se tex label  title() 
 15.                 eststo clear
 16.         
. }

Linear regression                               Number of obs     =  1,217,810
                                                F(2, 19768)       =    2185.84
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0489
                                                Root MSE          =     .93008

                                 (Std. Err. adjusted for 19,769 clusters in i)
------------------------------------------------------------------------------
             |               Robust
  dprior_ijt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    diff_ijt |   .0911263   .0014781    61.65   0.000     .0882292    .0940235
    age_ele1 |  -.0128639   .0004422   -29.09   0.000    -.0137307   -.0119971
       _cons |    .057522    .001897    30.32   0.000     .0538037    .0612402
------------------------------------------------------------------------------
(est1 stored)

Linear regression                               Number of obs     =  1,217,810
                                                F(3, 19768)       =    1622.53
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0491
                                                Root MSE          =     .92998

                                  (Std. Err. adjusted for 19,769 clusters in i)
-------------------------------------------------------------------------------
              |               Robust
   dprior_ijt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     diff_ijt |   .1022909   .0021156    48.35   0.000     .0981442    .1064377
     age_ele1 |   -.012949   .0004379   -29.57   0.000    -.0138074   -.0120907
diff_ijt_ele1 |  -.0033056   .0005341    -6.19   0.000    -.0043525   -.0022586
        _cons |   .0577082   .0018945    30.46   0.000     .0539948    .0614215
-------------------------------------------------------------------------------
(est2 stored)
note: diff_ijt_ele1_1 omitted because of collinearity
note: ele1_1 omitted because of collinearity
note: ele1_8 omitted because of collinearity

Linear regression                               Number of obs     =  1,217,810
                                                F(15, 19768)      =     366.69
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0495
                                                Root MSE          =     .92978

                                    (Std. Err. adjusted for 19,769 clusters in i)
---------------------------------------------------------------------------------
                |               Robust
     dprior_ijt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
diff_ijt_ele1_1 |          0  (omitted)
diff_ijt_ele1_2 |   .0963039   .0016225    59.35   0.000     .0931237    .0994842
diff_ijt_ele1_3 |   .0919033   .0016874    54.47   0.000     .0885959    .0952107
diff_ijt_ele1_4 |   .0871075   .0019081    45.65   0.000     .0833675    .0908476
diff_ijt_ele1_5 |   .0853064   .0025126    33.95   0.000     .0803814    .0902313
diff_ijt_ele1_6 |   .0822373   .0029545    27.83   0.000     .0764461    .0880284
diff_ijt_ele1_7 |   .0762126   .0035963    21.19   0.000     .0691636    .0832616
diff_ijt_ele1_8 |   .0781483    .004753    16.44   0.000      .068832    .0874646
diff_ijt_ele1_9 |   .0793387    .004901    16.19   0.000     .0697322    .0889451
         ele1_1 |          0  (omitted)
         ele1_2 |   .0700647   .0051558    13.59   0.000     .0599589    .0801704
         ele1_3 |   .0157296   .0053786     2.92   0.003     .0051871    .0262722
         ele1_4 |   .0094587   .0051081     1.85   0.064    -.0005536     .019471
         ele1_5 |  -.0006136     .00546    -0.11   0.911    -.0113157    .0100885
         ele1_6 |  -.0013911   .0057815    -0.24   0.810    -.0127234    .0099412
         ele1_7 |   .0071995   .0067346     1.07   0.285    -.0060009    .0203999
         ele1_8 |          0  (omitted)
         ele1_9 |   .0018475   .0072371     0.26   0.799    -.0123377    .0160327
          _cons |    -.02061   .0048076    -4.29   0.000    -.0300333   -.0111866
---------------------------------------------------------------------------------
(est3 stored)

Linear regression                               Number of obs     =  1,212,412
                                                F(2, 19733)       =    1956.20
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0421
                                                Root MSE          =      1.161

                                 (Std. Err. adjusted for 19,734 clusters in i)
------------------------------------------------------------------------------
             |               Robust
      dprior |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        diff |   .0706038   .0013284    53.15   0.000         .068    .0732077
    age_ele1 |  -.0321885   .0009662   -33.31   0.000    -.0340823   -.0302946
       _cons |   .1510992   .0034866    43.34   0.000     .1442651    .1579333
------------------------------------------------------------------------------
(est4 stored)

Linear regression                               Number of obs     =  1,212,412
                                                F(3, 19733)       =    1442.22
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0424
                                                Root MSE          =     1.1608

                                 (Std. Err. adjusted for 19,734 clusters in i)
------------------------------------------------------------------------------
             |               Robust
      dprior |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        diff |   .0830593    .001802    46.09   0.000     .0795272    .0865914
    age_ele1 |   -.032666   .0009445   -34.59   0.000    -.0345173   -.0308147
   diff_ele1 |  -.0037144   .0004373    -8.49   0.000    -.0045716   -.0028572
       _cons |   .1523475   .0034417    44.27   0.000     .1456014    .1590935
------------------------------------------------------------------------------
(est5 stored)
note: diff_ele1_1 omitted because of collinearity
note: ele1_1 omitted because of collinearity
note: ele1_8 omitted because of collinearity

Linear regression                               Number of obs     =  1,212,412
                                                F(15, 19733)      =     367.97
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0441
                                                Root MSE          =     1.1598

                                 (Std. Err. adjusted for 19,734 clusters in i)
------------------------------------------------------------------------------
             |               Robust
      dprior |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 diff_ele1_1 |          0  (omitted)
 diff_ele1_2 |    .076415   .0014528    52.60   0.000     .0735674    .0792627
 diff_ele1_3 |   .0702945   .0015003    46.85   0.000     .0673538    .0732352
 diff_ele1_4 |   .0660411   .0018347    35.99   0.000     .0624449    .0696374
 diff_ele1_5 |   .0637444   .0024519    26.00   0.000     .0589385    .0685503
 diff_ele1_6 |   .0607215   .0026089    23.27   0.000     .0556077    .0658352
 diff_ele1_7 |   .0584007   .0029349    19.90   0.000     .0526481    .0641533
 diff_ele1_8 |   .0543253   .0039553    13.73   0.000     .0465726    .0620779
 diff_ele1_9 |   .0556689   .0055685    10.00   0.000     .0447541    .0665837
      ele1_1 |          0  (omitted)
      ele1_2 |   .1772908   .0076807    23.08   0.000      .162236    .1923455
      ele1_3 |   .0419827   .0075898     5.53   0.000     .0271061    .0568593
      ele1_4 |    .019792   .0073536     2.69   0.007     .0053784    .0342056
      ele1_5 |    .002153   .0080496     0.27   0.789    -.0136249    .0179309
      ele1_6 |   .0056974   .0083774     0.68   0.496    -.0107231    .0221179
      ele1_7 |   .0079885   .0093595     0.85   0.393     -.010357    .0263339
      ele1_8 |          0  (omitted)
      ele1_9 |   .0083876    .010602     0.79   0.429    -.0123932    .0291685
       _cons |  -.0459718   .0072271    -6.36   0.000    -.0601375   -.0318062
------------------------------------------------------------------------------
(est6 stored)

----------------------------------------------------------------------------
                 (1)        (2)        (3)        (4)        (5)        (6) 
                est1       est2       est3       est4       est5       est6 
----------------------------------------------------------------------------
diff_ijt       0.091a     0.102a                                            
             (0.001)    (0.002)                                             

age_ele1      -0.013a    -0.013a               -0.032a    -0.033a           
             (0.000)    (0.000)               (0.001)    (0.001)            

diff_ij~e1               -0.003a                                            
                        (0.001)                                             

diff_ij~_1                           0.000                                  
                                       (.)                                  

diff_ijt~2                           0.096a                                 
                                   (0.002)                                  

diff_ijt~3                           0.092a                                 
                                   (0.002)                                  

diff_ijt~4                           0.087a                                 
                                   (0.002)                                  

diff_ijt~5                           0.085a                                 
                                   (0.003)                                  

diff_ijt~6                           0.082a                                 
                                   (0.003)                                  

diff_ijt~7                           0.076a                                 
                                   (0.004)                                  

diff_ijt~8                           0.078a                                 
                                   (0.005)                                  

diff_ijt~9                           0.079a                                 
                                   (0.005)                                  

ele1_1                               0.000                            0.000 
                                       (.)                              (.) 

ele1_2                               0.070a                           0.177a
                                   (0.005)                          (0.008) 

ele1_3                               0.016a                           0.042a
                                   (0.005)                          (0.008) 

ele1_4                               0.009c                           0.020a
                                   (0.005)                          (0.007) 

ele1_5                              -0.001                            0.002 
                                   (0.005)                          (0.008) 

ele1_6                              -0.001                            0.006 
                                   (0.006)                          (0.008) 

ele1_7                               0.007                            0.008 
                                   (0.007)                          (0.009) 

ele1_8                               0.000                            0.000 
                                       (.)                              (.) 

ele1_9                               0.002                            0.008 
                                   (0.007)                          (0.011) 

diff                                            0.071a     0.083a           
                                              (0.001)    (0.002)            

diff_ele1                                                 -0.004a           
                                                         (0.000)            

diff_el~_1                                                            0.000 
                                                                        (.) 

diff_ele~2                                                            0.076a
                                                                    (0.001) 

diff_ele~3                                                            0.070a
                                                                    (0.002) 

diff_ele~4                                                            0.066a
                                                                    (0.002) 

diff_ele~5                                                            0.064a
                                                                    (0.002) 

diff_ele~6                                                            0.061a
                                                                    (0.003) 

diff_ele~7                                                            0.058a
                                                                    (0.003) 

diff_ele~8                                                            0.054a
                                                                    (0.004) 

diff_ele~9                                                            0.056a
                                                                    (0.006) 
----------------------------------------------------------------------------
N            1217810    1217810    1217810    1212412    1212412    1212412 
R-sq           0.049      0.049      0.049      0.042      0.042      0.044 
----------------------------------------------------------------------------
Standard errors in parentheses
c p<0.1, b p<0.05, a p<0.01

{
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{tabular}{l*{6}{c}}
\hline\hline
                    &\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)}&\multicolumn{1}{c}{(5)}&\multicolumn{1}{c}{(6)}\\
                    &\multicolumn{1}{c}{est1}&\multicolumn{1}{c}{est2}&\multicolumn{1}{c}{est3}&\multicolumn{1}{c}{est4}&\multicolumn{1}{c}{est5}&\multicolumn{1}{c}{est6}\\
\hline
$\widehat{a}\_{ijkt}-\varepsilon^q\_{ijk,t-1}$&       0.091{$^a$}&       0.102{$^a$}&                  &                  &                  &                  \\
                    &     (0.001)      &     (0.002)      &                  &                  &                  &                  \\
[1em]
Age$ \_{ijkt}$       &      -0.013{$^a$}&      -0.013{$^a$}&                  &      -0.032{$^a$}&      -0.033{$^a$}&                  \\
                    &     (0.000)      &     (0.000)      &                  &     (0.001)      &     (0.001)      &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}$&                  &      -0.003{$^a$}&                  &                  &                  &                  \\
                    &                  &     (0.001)      &                  &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=1$&                  &                  &       0.000      &                  &                  &                  \\
                    &                  &                  &         (.)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=2$&                  &                  &       0.096{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.002)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=3$&                  &                  &       0.092{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.002)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=4$&                  &                  &       0.087{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.002)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=5$&                  &                  &       0.085{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.003)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=6$&                  &                  &       0.082{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.003)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=7$&                  &                  &       0.076{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.004)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=8$&                  &                  &       0.078{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.005)      &                  &                  &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=9$&                  &                  &       0.079{$^a$}&                  &                  &                  \\
                    &                  &                  &     (0.005)      &                  &                  &                  \\
[1em]
age\_ele110==     1.0000&                  &                  &       0.000      &                  &                  &       0.000      \\
                    &                  &                  &         (.)      &                  &                  &         (.)      \\
[1em]
age\_ele110==     2.0000&                  &                  &       0.070{$^a$}&                  &                  &       0.177{$^a$}\\
                    &                  &                  &     (0.005)      &                  &                  &     (0.008)      \\
[1em]
age\_ele110==     3.0000&                  &                  &       0.016{$^a$}&                  &                  &       0.042{$^a$}\\
                    &                  &                  &     (0.005)      &                  &                  &     (0.008)      \\
[1em]
age\_ele110==     4.0000&                  &                  &       0.009{$^c$}&                  &                  &       0.020{$^a$}\\
                    &                  &                  &     (0.005)      &                  &                  &     (0.007)      \\
[1em]
age\_ele110==     5.0000&                  &                  &      -0.001      &                  &                  &       0.002      \\
                    &                  &                  &     (0.005)      &                  &                  &     (0.008)      \\
[1em]
age\_ele110==     6.0000&                  &                  &      -0.001      &                  &                  &       0.006      \\
                    &                  &                  &     (0.006)      &                  &                  &     (0.008)      \\
[1em]
age\_ele110==     7.0000&                  &                  &       0.007      &                  &                  &       0.008      \\
                    &                  &                  &     (0.007)      &                  &                  &     (0.009)      \\
[1em]
age\_ele110==     8.0000&                  &                  &       0.000      &                  &                  &       0.000      \\
                    &                  &                  &         (.)      &                  &                  &         (.)      \\
[1em]
age\_ele110==     9.0000&                  &                  &       0.002      &                  &                  &       0.008      \\
                    &                  &                  &     (0.007)      &                  &                  &     (0.011)      \\
[1em]
$\widehat{a}\_{ijkt}-\varepsilon^q\_{ijk,t-1}$&                  &                  &                  &       0.071{$^a$}&       0.083{$^a$}&                  \\
                    &                  &                  &                  &     (0.001)      &     (0.002)      &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}$&                  &                  &                  &                  &      -0.004{$^a$}&                  \\
                    &                  &                  &                  &                  &     (0.000)      &                  \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=1$&                  &                  &                  &                  &                  &       0.000      \\
                    &                  &                  &                  &                  &                  &         (.)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=2$&                  &                  &                  &                  &                  &       0.076{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.001)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=3$&                  &                  &                  &                  &                  &       0.070{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.002)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=4$&                  &                  &                  &                  &                  &       0.066{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.002)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=5$&                  &                  &                  &                  &                  &       0.064{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.002)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=6$&                  &                  &                  &                  &                  &       0.061{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.003)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=7$&                  &                  &                  &                  &                  &       0.058{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.003)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=8$&                  &                  &                  &                  &                  &       0.054{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.004)      \\
[1em]
\hspace{1cm} $\times$ Age$ \_{ijkt}=9$&                  &                  &                  &                  &                  &       0.056{$^a$}\\
                    &                  &                  &                  &                  &                  &     (0.006)      \\
\hline
Observations        &     1217810      &     1217810      &     1217810      &     1212412      &     1212412      &     1212412      \\
\(R^{2}\)           &       0.049      &       0.049      &       0.049      &       0.042      &       0.042      &       0.044      \\
\hline\hline
\multicolumn{7}{l}{\footnotesize Standard errors in parentheses}\\
\multicolumn{7}{l}{\footnotesize {$^c$} p<0.1, {$^b$} p<0.05, {$^a$} p<0.01}\\
\end{tabular}
}

. 
. log close
      name:  <unnamed>
       log:  D:\Vicard\VV\re\inprogress\BRV\results\prediction1_fe_ijt.log
  log type:  text
 closed on:  30 Sep 2017, 01:18:54
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
